﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Microsoft.Xna.Framework;

namespace SharedLib
{
    public class Constants
    {
        public static Point MAP_SIZE = new Point(110,60);

        public static Int32 PLAYER_MOVE_MULTIPLIER = 2;
        public static float PLAYER_SPEED_MULTIPLIER = 2;
        public static float PLAYER_ROTATION_FOV = MathHelper.PiOver4 /2;
        public static Int32 PLAYER_TEXTURE_SIZE = 32;
        public static Int32 PLAYER_DRAWING_DECAL = 150;

        public static Int32 MAP_TILE_SIZE = 3;

        public static Int32 CHUNK_WIDTH = 20;
        public static Int32 CHUNK_HEIGHT = 10;

        public static Int32 WORLD_SIZE = 300;

        public static Int32 TILE_SIZE = 48;
        public static Int32 TILESHEET_WIDTH = 10;
        public static Int32 TILESHEET_HEIGHT = 3;

        public static string REMOTE_SERVICE_NAME = "RemoteGame";
        public static Int32  REMOTE_PORT = 44248;

        public static Int32 SCREEN_WIDTH = 30;
        public static Int32 SCREEN_HEIGHT = 30;

        public static Int32 UPDATE_RATIO = 100;

        public static Random Random = new Random();

        public static Color HPColor = Color.Red;
        public static Color ManaColor = Color.Blue;

        public static string CLIENT_VERSION = "0.1";
        public static string SERVER_VERSION = "0.1";
        public static string APP_NAME = "Test";

        public enum PacketType
        {
            EntityLeft,
            EntityJoin,
            WorldMapTransfer,
            PlayerInWorld,
            PlayerBlockSet,
            PlayerBlockUse,
            PlayerInitialUpdate,
            EntityMovementUpdate,
            EntityRotationUpdate,
            ChunkTransfer
        }

    }
}
